#ifndef _DICOM_GWBASE_TEST_UTIL_H_
#define _DICOM_GWBASE_TEST_UTIL_H_

#include "gwbase/base/slice.h"
#include "gwbase/base/util.h"
#include "gwbase/base/random.h"

namespace dicom {

extern std::string RandomString(Random* rand, size_t len);

extern bool CreateRandomFile(const std::string& path, Random* rand, size_t len);

extern void CreateTestFile(const std::string& name, size_t size,
                           bool random = true, unsigned char byte = '0');

extern bool CheckSameFile(const std::string& f1, const std::string& f2);
};

#endif  // _DICOM_GWBASE_TEST_UTIL_H_
